﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace bkfexp {
    public partial class ExWIP : UserControl {
        public ExWIP() {
            InitializeComponent();
        }

        public static ExWIP Show(Control parent) {
            ExWIP o = new ExWIP();
            o.Parent = parent;
            o.Location = Point.Empty;
            o.Size = parent.ClientSize;
            o.Show();
            o.BringToFront();
            o.Update();
            parent.Update();
            return o;
        }

        public void SetWork(int x, int cx) {
            pr.Maximum = cx;
            pr.Value = x;
            Update();
        }

        private void ExWIP_Load(object sender, EventArgs e) {

        }
    }
}
